<!--  -->
<template>
  <div class="view-conatiner">
    <div class="title-container title-position">
      <modules-title title-name="打印设置">
        <template slot="btn">
          <el-button type="primary" icon="" @click="saveData">保存</el-button>
        </template>
      </modules-title>
    </div>
    <div class="main-content">
      <el-tabs v-model="activeName">
        <el-tab-pane name="1" label="立项尽调打印" style="min-height:200px">
          <look-info-setting ref="lookInfoSetting" style="margin-top: 20px;" />
        </el-tab-pane>
      </el-tabs>
    </div>
  </div>
</template>

<script>
export default {
  components: {
    LookInfoSetting: () => import('./modules/lookInfoSetting.vue')
  },
  data() {
    return {
      activeName: '1'
    }
  },
  // 生命周期 - 创建完成（访问当前this实例）
  created() {

  },
  methods: {
    saveData() {
      if (this.activeName === '1') {
        this.$refs.lookInfoSetting.submitData()
      }
    }
  }
}
</script>
<style lang="scss" scoped>
/* @import url(); 引入css类 */
.view-conatiner{
    padding-top: 110px;
    .main-content{
        padding: 20px;
    }
}
</style>
